<!-- $Id: article_info.htm 16780 2009-11-09 09:28:30Z sxc_shop $ -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ECSHOP 管理中心 - 添加新文章 </title>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="__TMPL__/Public/styles/general.css" rel="stylesheet" type="text/css" />
<link href="__TMPL__/Public/styles/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__ROOT__/JS/jquery.js"></script>
<script language="javascript">
$(document).ready(function(e) {
    $("select[selectedvalue]").each(function(index, element) {
        var value=$(this).attr('selectedvalue');
		$(this).children("[value='"+value+"']").attr('selected',true);
    });
});
</script>
</head>
<body>

<h1>
<span class="action-span"><a href="__ACTION__/action/list">设置列表</a></span>
<span class="action-span1"><a href="__APP__/Index/first">ECSHOP 管理中心</a> </span><span id="search_id" class="action-span1"> - 添加设置 </span>
<div style="clear:both"></div>
</h1>
<!-- start goods form -->
<div class="tab-div">
  <div id="tabbar-div">
    <p>
      <span class="tab-front" id="general-tab">通用信息</span>	    </p>
  </div>

  <div id="tabbody-div">
    <form  action="__ACTION__" method="post" enctype="multipart/form-data" name="theForm" onsubmit="return validate();">
    <input name="Id" type="hidden" value="{$data.Id}" />
    <input name="action" type="hidden" value="{$Think.get.action}" />
    <table width="90%" id="general-table">
      <tr>
        <td class="narrow-label">变量标题</td>
        <td><input name="vartitle" type="text" id="vartitle" value="{$data.vartitle}" size ="40" maxlength="60" /><span class="require-field">*</span></td>
      </tr>          
      <!--  -->
      <tr>
        <td class="narrow-label">变量名 </td>
        <td><input name="varname" type="text" id="varname" value="{$data.varname}" size ="40" maxlength="60" /><span class="require-field">*</span></td>
      </tr>
      <!--  -->
            <tr>
        <td class="narrow-label">文章重要性</td>
        <td><input type="radio" name="issystem" value="0" checked>普通      <input type="radio" name="issystem" value="1" >
        系统        <span class="require-field">*</span>
              <script language="javascript">
	 // alert($("[name='istop']").length);
	  $("[name='istop'][value='{$data.istop}']").attr('checked',true);
	  </script>
              </td>
      </tr>
      <tr>
        <td class="narrow-label">变量类型</td>
        <td><label for="vartype"></label>
          <select name="vartype" id="vartype">
            <option value="singleline">单行文本</option>
            <option value="multiline">多行文本</option>
          </select></td>
      </tr>
            <tr>
        <td class="narrow-label">变量值</td>
        <td><input name="varvalue" type="text" id="varvalue" value="{$data.varvalue}" size ="40" /></td>
      </tr>
    </table>

      <div class="button-div">
      <input type="submit" value=" 确定 " class="button"  />
      <input name="按钮" type="button" class="button" value=" 返回 " onclick="window.history.go(-1);" />
    </div>
    </form>
  </div>
</div>
<script language="javascript">
$("#tabbar-div>p>span").click(function(){
	var id=$(this).attr('id').replace("tab","table");
	$("#"+id).show().siblings("table").hide();
	$(this).removeClass("tab-back").addClass("tab-front").siblings("span").removeClass("tab-front").addClass("tab-back");
});
</script>
<!-- end goods form -->
<div id="footer">
共执行 3 个查询，用时 0.032813 秒，Gzip 已禁用，内存占用 0.318 MB<br />
版权所有 &copy; 2005-2012 上海商派网络科技有限公司，并保留所有权利。</div>
<!-- 新订单提示信息 -->
</body>
</html>